package com.yixin.hospital.entity.dto.req.purchaseorder;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

@ApiModel("编辑入库药品进货价请求体")
@Data
public class GoDownDrugEditReqDTO {

    @ApiModelProperty("id")
    @NotBlank(message = "id不能为空")
    private long id;

    @ApiModelProperty("进货价")
    @NotBlank(message = "进货价不能为空")
    private BigDecimal price;
}
